#ifndef CJSONPARE_H
#define CJSONPARE_H

#include "cjsonvalue.h"
#include "cjsonname.h"

class CJsonPare 
{
private:
  CJsonName  *name;
  CJsonValue *value;
public:
  LIB_PRE CJsonPare();
  LIB_PRE ~CJsonPare();
  LIB_PRE CJsonPare(CJsonName *name, CJsonValue *value);
  LIB_PRE void AddName(CJsonName *name);
  LIB_PRE void AddValue(CJsonValue *value);
  LIB_PRE jstring ToString();
  LIB_PRE bool CompareName(jstring * name) const;
  LIB_PRE bool CompareName(jstring & name) const;
  LIB_PRE CJsonValue * GetValue() const;
  LIB_PRE jstring GetNameString() const;
  LIB_PRE jchar const * const GetNameCString() const;
};

#endif // CJSONPARE_H

